package com.jzmy.cultivate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.plugins.Page;
import com.jzmy.cultivate.entity.Order;
import com.jzmy.cultivate.entity.vo.MyCourseListVo;
import com.jzmy.cultivate.entity.vo.TrainingAgencyPageVo;

import java.util.Map;

/**
 * 
 * <pre>
 * 订单表
 * </pre>
 */
public interface OrderService extends IService<Order> {

    Page<MyCourseListVo> selByStateUserId(int current, int number, Map map);

    Page<TrainingAgencyPageVo> selTrainingAgency(int current, int number, Map map);

    @Deprecated
    Order findOneByKv(Object... param);
}
